package com.yanqu.road.entity.activity.gourdplant;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.ArrayList;
import java.util.List;

@FieldTypeAnnotation(tableName = "t_s_activity_gourd_plant_comb")
public class GourdPlantCombInfo {

    @FieldTypeAnnotation(desc = "活动ID", select = true, update = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "组合id", orderASC = true)
    private int combId;

    @FieldTypeAnnotation(desc = "组合名称")
    private String name;

    @FieldTypeAnnotation(desc = "图标")
    private String icon;

    @FieldTypeAnnotation(desc = "组合描述")
    private String desc;

    @FieldTypeAnnotation(desc = "组合品质")
    private int quality;

    @FieldTypeAnnotation(desc = "权重")
    private int weight;

    @FieldTypeAnnotation(desc = "积分")
    private int integral;

    @FieldTypeAnnotation(desc = "奖励id")
    private String rewards = "";

    @FieldTypeAnnotation(desc = "组合元素(颜色1数量|颜色2数量)")
    List<Integer> element = new ArrayList<>();

    @FieldTypeAnnotation(desc = "特殊组合元素(葫芦娃1id=数量|葫芦娃2id=数量)")
    List<GourdPlantElement> specialElement = new ArrayList<>();

    @FieldTypeAnnotation(desc = "排序")
    private int sort;

    //缓存
    //该组合要排除的元素
    List<Integer> excludeElement = new ArrayList<>();


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getCombId() {
        return combId;
    }

    public void setCombId(int combId) {
        this.combId = combId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getQuality() {
        return quality;
    }

    public void setQuality(int quality) {
        this.quality = quality;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }

    public int getIntegral() {
        return integral;
    }

    public void setIntegral(int integral) {
        this.integral = integral;
    }

    public String getRewards() {
        return rewards;
    }

    public void setRewards(String rewards) {
        this.rewards = rewards;
    }

    public List<Integer> getElement() {
        return element;
    }

    public void setElement(List<Integer> element) {
        this.element = element;
    }

    public List<GourdPlantElement> getSpecialElement() {
        return specialElement;
    }

    public void setSpecialElement(List<GourdPlantElement> specialElement) {
        this.specialElement = specialElement;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public List<Integer> getExcludeElement() {
        return excludeElement;
    }

    public void setExcludeElement(List<Integer> excludeElement) {
        this.excludeElement = excludeElement;
    }
}
